<?php
	//$tribe_id
		$pho_db='phome_jat_tribe_subject';
		$_id=$_REQUEST['sid'];
		$D=DbTouch($pho_db,array('id'=>$_id));
		$U=getUserInfo($D['uid']);
		//print_r($U);
?>
<style>
	.ipt_box{width:100%;}
	.big-box{height:120px;}
	.current_subject{color:#eee;background:#;}
	.usrinfo{float:left;width:72px;height:100px;margin:10px;}
	.usrinfo span{display:block;padding:10px;}
</style>
<ol id="dh">
	<li><a href="<?=$public_r[newsurl]?>tribe/detail/?id=<?=$tribe_id?>">部落首页</a></li>
	<li><a href="<?=$public_r[newsurl]?>tribe/detail/?id=<?=$tribe_id?>&m=subject" class="change">部落讨论</a></li>
	<li><a href="<?=$public_r[newsurl]?>tribe/detail/?id=<?=$tribe_id?>&m=act">部落活动</a></li>
	<li><a href="<?=$public_r[newsurl]?>tribe/detail/?id=<?=$tribe_id?>&m=pho">部落相册</a></li>
</ol>
 <span class="clear"></span> 
<div id="photo" style='height:auto;'>
		<h3>			
			<a href="<?=$public_r[newsurl]?>tribe/detail/?id=<?=$tribe_id?>&m=subject" class="change">部落讨论</a>>>><strong style='padding:10px;'><?php echo $D['title']?></strong>
		</h3>
		<div  style='text-align:left;padding:10px;'><?php/*$D['title']*/?></div>
		<div style='text-align:left;padding:10px 0px;'>
			<div class='usrinfo'>
				<a href='<?=$public_r['newsurl']?>e/member/sp/?uid=<?=$D['uid']?>'><img src='<?=$U['userpic']?>' height='69'/></a>
				<span><a href='<?=$public_r['newsurl']?>e/member/sp/?uid=<?=$D['uid']?>'><?=$U['nickname']?></a></span>
			</div>
			<?php echo $D['content']?>
		</div>
	  <span class="clear"></span>
	  <div class='page'>
		<?=$page_list?>
	  </div>
            <div id="comment_list">
              <div class="comments_text">
			  <input type='hidden' id='comment_app_id' value='<?=$_id?>' />
				<div class="t"><b>讨论：</b><span class='comment_num'>--</span>条评论,内容限制在200个字以内</div>
                <textarea class="textarea" class="comment-content" rows="10" maxLength='200' cols="10" app_type='<?=TRIBE_COMMNT_ID?>'></textarea>
                <div class="submitbtndiv">可快速答复<input type="button" class="submitbtn" value="发表评论" /></div>
              </div>
			<div class='list-c-items'>

			</div>
            </div> 
</div>
<!-- photo结束 -->